From: Sam Hewitt Date: Fri, 16 Nov 2018 18:44:52 +0000 (-0500) Subject: theme: Replace page indicator assets with css X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2~1^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=27c660d2a9204bf423103bc83dc8e2f162b4474b;p=gnome-shell.git theme: Replace page indicator assets with css https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/297 --- diff --git a/data/gnome-shell-theme.gresource.xml b/data/gnome-shell-theme.gresource.xml index e292d33a3..451d0980e 100644 --- a/data/gnome-shell-theme.gresource.xml +++ b/data/gnome-shell-theme.gresource.xml @@ -25,10 +25,6 @@ no-notifications.svg noise-texture.png pad-osd.css - page-indicator-active.svg - page-indicator-inactive.svg - page-indicator-checked.svg - page-indicator-hover.svg process-working.svg toggle-off-us.svg toggle-off-intl.svg diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index 829791419..c905b3b75 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -1446,15 +1446,17 @@ StScrollBar { padding: 15px 20px; .page-indicator-icon { - width: 18px; - height: 18px; - background-image: url(resource:///org/gnome/shell/theme/page-indicator-inactive.svg); + width: 12px; + height: 12px; + background-color: transparent; + border: 2px solid rgba(255, 255, 255, 0.4); + border-radius:12px; } - &:hover .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-hover.svg); } - &:active .page-indicator-icon { background-image: url(resource:///org/gnome/shell/theme/page-indicator-active.svg); } + &:hover .page-indicator-icon { border-color: white; } + &:active .page-indicator-icon { border: none; margin: 2px; background-color:#fff; } &:checked .page-indicator-icon, - &:checked:active { background-image: url(resource:///org/gnome/shell/theme/page-indicator-checked.svg); } + &:checked:active { background-color: #fff;} } .no-frequent-applications-label { @extend %status_text; } diff --git a/data/theme/page-indicator-active.svg b/data/theme/page-indicator-active.svg deleted file mode 100644 index 51a76024e..000000000 --- a/data/theme/page-indicator-active.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/data/theme/page-indicator-checked.svg b/data/theme/page-indicator-checked.svg deleted file mode 100644 index 38b720f86..000000000 --- a/data/theme/page-indicator-checked.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/data/theme/page-indicator-hover.svg b/data/theme/page-indicator-hover.svg deleted file mode 100644 index a4ea72ffd..000000000 --- a/data/theme/page-indicator-hover.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/data/theme/page-indicator-inactive.svg b/data/theme/page-indicator-inactive.svg deleted file mode 100644 index 4ff2246c8..000000000 --- a/data/theme/page-indicator-inactive.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - -